package cn.wp.ewallet.wallet.service;

import cn.wp.ewallet.wallet.model.dto.UserWalletRelDto;
import cn.wp.ewallet.wallet.model.entity.UserWalletRelDo;

/**
 * 用户和钱包关系-业务逻辑层
 * Created by zhangyongli on 2020/01/10
 */
public interface UserWalletRelService {

    /**
     * 保存用户和钱包关系
     * @param userId
     * @param address
     */
    void saveUserWalletRel(String userId, String address);

    /**
     * 查询用户和钱包关系
     * @return
     */
    UserWalletRelDto getUserWalletRel();


}